package com.ruoyi.project.cms.notice.mapper;

import com.ruoyi.project.cms.notice.domain.NoticeType;

import java.util.List;

/**
 *com.ruoyi.project.cms.notice.mapper
 *作者：lh
 描述:
 *时间:2020-05-17
 */
public interface NoticeTypeMapper {
    int deleteByPrimaryKey(int tid);

    int insert(NoticeType record);

    int insertSelective(NoticeType record);

    NoticeType selectByPrimaryKey(int tid);

    int updateByPrimaryKeySelective(NoticeType record);

    int updateByPrimaryKey(NoticeType record);

    List<NoticeType> selectNoticeTypeList(NoticeType cmsNoticeType);

    NoticeType checkNoticeTypeNameUnique(String tname);

    NoticeType selectByName(String tname);

    List<NoticeType> selectAll();

}